You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLKernel Class > TOpenCLKernel Methods > SetArgLocalMem Method > TOpenCLKernel.SetArgLocalMem Method (int, [In] TOpenCLCommandQueue)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLKernel.SetArgLocalMem Method (int, [In] TOpenCLCommandQueue)

Sets the Kernel (Open CL function) parameter at argIndex to local memory size associated with the queue.

Syntax
C#
Visual Basic
public void SetArgLocalMem(int argIndex, [In] TOpenCLCommandQueue CmdQueue);

The amount of local memory associated with the queue is specified by the TOpenCLcommandQueue property. The total amount of local memory allocated across all queues running on the same device may not exceed total available local memory as reported by TOpenCLDevice.LocalMemSize. The guaranteed minimum available memory for LocalMemSize is 32kBytes. The reported memory is in Bytes. The amount of local memory associated with the queue also may not be less than the minimum required by the kernel (if specified).

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!